.container {
  min-height: 100vh;
  background-color: #f5f5f5;
  padding-bottom: 20px;
}

/* 头部导航 */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background-color: #fff;
  border-bottom: 1px solid #f0f0f0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.headerLeft {
  display: flex;
  align-items: center;
  font-size: 18px;
  color: #333;
  cursor: pointer;
}

.headerTitle {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.headerRight {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  color: #666;
}

/* 医生信息卡片 */
.doctorCard {
  display: flex;
  align-items: center;
  padding: 20px 16px;
  background-color: #fff;
  margin: 8px 16px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.doctorAvatar {
  width: 60px;
  height: 60px;
  margin-right: 16px;
}

.doctorAvatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.doctorInfo {
  flex: 1;
}

.doctorName {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.doctorTitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 4px;
}

.doctorDepartment {
  font-size: 14px;
  color: #999;
  line-height: 1.4;
}

/* 排队状态框 */
.queueStatus {
  display: flex;
  gap: 12px;
  margin: 16px;
}

.statusBox {
  flex: 1;
  background-color: #fff;
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.statusBox:nth-child(1) {
  background: linear-gradient(135deg, #fff3cd, #ffeaa7);
}

.statusBox:nth-child(2) {
  background: linear-gradient(135deg, #d1ecf1, #bee5eb);
}

.statusBox:nth-child(3) {
  background: linear-gradient(135deg, #f8d7da, #f5c6cb);
}

.statusLabel {
  font-size: 12px;
  color: #666;
  margin-bottom: 8px;
  line-height: 1.2;
}

.statusNumber {
  font-size: 24px;
  font-weight: 700;
  color: #333;
}

/* 刷新按钮 */
.refreshButton {
  background: linear-gradient(135deg, #1890ff, #40a9ff);
  color: #fff;
  text-align: center;
  width: 100px;
  height: 100px;
  line-height: 100px;
  border-radius: 50%;
  margin: 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  margin-left: 35%;
  margin-top: 40%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
  position: relative;
  z-index: 1;
}

.refreshButton:hover {
  transform: scale(1.05);
}

.refreshButton:active {
  transform: scale(0.95);
}

/* 刷新遮罩层 */
.refreshOverlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.refreshModal {
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 12px;
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.refreshText {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  margin-top: 16px;
  text-align: center;
}

/* 加载动画 */
.loadingSpinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 最后刷新时间 */
.lastRefreshTime {
  text-align: center;
  font-size: 12px;
  color: #999;
  margin: 8px 16px 0;
}


/* 底部提示 */
.footerNote {
  text-align: center;
  font-size: 12px;
  color: #999;
  margin: 20px 16px 0;
  line-height: 1.4;
}

/* 响应式设计 */
@media (max-width: 375px) {
  .queueStatus {
    margin: 12px;
    gap: 8px;
  }
  
  .statusBox {
    padding: 12px 8px;
  }
  
  .statusLabel {
    font-size: 11px;
  }
  
  .statusNumber {
    font-size: 20px;
  }
  
  .refreshButton {
    margin: 16px 12px;
    padding: 14px;
    font-size: 15px;
  }
}
